package com.cxl.demo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private Integer commentId;
    private Integer assigmentId;
    private Integer userId;
    private Integer topId;
    private Integer parentCommentId;
    private String content;
    private String createTime;


    private Comment parent;
    private User user;
    private List<Comment> children;
}
